/* 
 * 路由表对象：
 * 该文件挂载在Vue原型中 $mRoutesConfig
 * 作用：调用$mRouter对象的方法 传入以下对应的路由对象，详细见common目录下的router.js
 * 示例：this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
 * 注意：所有在pages目录下新建的页面都必须在"路由表"中进行声明，并且在框架的pages.json注册。
 * 
 * 配置参数项说明： 
 * name:可选配置 （路由名称）
 * path:必填配置 （路由地址）
 * requiresAuth:可选配置 （是否权限路由）
 */

export default {
	// 权限路由
	user: {
		name: "个人中心",
		path: "/pages/user/user",
		requiresAuth: true
		
	},
	userVipIndex: {
		name: "会员首页",
		path: "/pages/user/user-list/userVipIndex",
		requiresAuth: true
	},
	userMyCourse: {
		name: "我的课程",
		path: "/pages/user/user-list/userMyCourse",
		requiresAuth: true
	},
	userMyapply: {
		name: "报名信息",
		path: "/pages/user/user-list/myapply",
		requiresAuth: true
	},
	userMyLearn: {
		name: "我的学习",
		path: "/pages/user/user-list/userMyLearn",
		requiresAuth: true
	},
	userMyCertification: {
		name: "我的认证",
		path: "/pages/user/user-list/userMyCertification",
		requiresAuth: true
	},
	userMyCredits: {
		name: "我的学分",
		path: "/pages/user/user-list/userMyCredits",
		requiresAuth: true
	},
	userCourseDis: {
		name: "课程分销",
		path: "/pages/user/user-list/userCourseDis",
		requiresAuth: true
	},
	userAccount: {
		name: "账户余额",
		path: "/pages/user/user-list/userAccount",
		requiresAuth: true
	},
	rechargeWithdraw: {
		name: "充值和提现",
		path: "/pages/user/user-list/rechargeWithdraw",
		requiresAuth: true
	},
	addBandCard: {
		name: "增加银行卡",
		path: "/pages/user/user-list/addBandCard",
		requiresAuth: true
	},
	userMyOrder: {
		name: "我的订单",
		path: "/pages/user/user-list/userMyOrder",
		requiresAuth: true
	},
	userInformation: {
		name: "个人信息",
		path: "/pages/user/user-list/userMyInfo",
		requiresAuth: true
	},
	userNotice: {
		name: "消息通知",
		path: "/pages/user/user-list/userNotice",
		requiresAuth: true
	},
	userNoticeDel: {
		name: "消息通知",
		path: "/pages/user/user-list/userNoticeDel",
		requiresAuth: true
	},
	apply: {
		name: "报名",
		path: "/pages/apply/apply",
		requiresAuth: true
	},
	verifyCourse: {
		name: "确认报名",
		path: "/pages/apply/verifyCourse",
		requiresAuth: true
	},
	createOrder: {
		name: "提交订单",
		path: "/pages/order/createOrder",
		requiresAuth: true
	},
	submitOrder:{
		name: "确认订单",
		path: "/pages/order/submitOrder",
		requiresAuth: true
	},
	paySuccess:{
		name: "支付成功",
		path: "/pages/order/paySuccess",
		requiresAuth: true
	},
	addressList: {
		name: "地址列表",
		path: "/pages/address/address",
		requiresAuth: true
	},
	add_ament_address:{
		name: "新增和修改地址",
		path: "/pages/address/add_ament_address",
		requiresAuth: true
	},
	uInfoC: {
		name: "修改个人信息",
		path: "/pages/user/user-change-info/u-info-c",
		requiresAuth: true
	},
	uInfoLoginpsd: {
		name: "修改密码",
		path: "/pages/user/user-change-info/u-info-loginpsd",
		requiresAuth: true
	},
	uInfoPaypsd: {
		name: "支付密码",
		path: "/pages/user/user-change-info/u-info-paypsd",
		requiresAuth: true
	},
	uInfoEmailbound: {
		name: "邮箱绑定",
		path: "/pages/user/user-change-info/u-info-emailbound",
		requiresAuth: true
	},
	uInfoPhonebound: {
		name: "手机绑定",
		path: "/pages/user/user-change-info/u-info-phonebound",
		requiresAuth: true
	},
	CertificateApply: {
		name: "EP开发者考试认证报名",
		path: "/pages/certificate/certificateApply",
		requiresAuth: true
	},
	VerifyApply: {
		name: "考试报名-确认信息",
		path: "/pages/certificate/verifyApply",
		requiresAuth: true
	},
	SubmitExamOrder: {
		name: "考试报名-支付费用",
		path: "/pages/order/submitExamOrder",
		requiresAuth: true
	},
	Exam: {
		name: "EP开发者认证考试",
		path: "/pages/exam/exam",
		requiresAuth: true
	},
	ExamPapers: {
		name: "笔试结果",
		path: "/pages/exam/exam-papers",
		requiresAuth: true
	},
	ExamOperation: {
		name: "实操考试",
		path: "/pages/exam/exam-operation",
		requiresAuth: true
	},
	Comment: {
		name: "课程评价",
		path: "/pages/comment/comment",
		requiresAuth: true
	},
	

	// 非权限路由
	main: {
		name: "首页",
		path: "/pages/main/main"
	},
	login: {
		name: "登录",
		path: "/pages/login/login"
	},
	register: {
		name: "快速注册",
		path: "/pages/login/register"
	},
	forget: {
		name: "忘记密码",
		path: "/pages/login/forget"
	},
	onCourse: {
		name: "在线教育",
		path: "/pages/course/course"
	},
	onCourseList: {
		name: "在线教育列表",
		path: "/pages/course/course-list"
	},
	onCourseDet: {
		name: "在线教育详细",
		path: "/pages/course/course-detail"
	},
	OfflineDet: {
		name: "线下课程",
		path: "/pages/offline/offline-detail"
	},
	OfflineDetV: {
		name: "线下课程视频",
		path: "/pages/offline/offline-det-video"
	},
	ComboList: {
		name: "组合课程",
		path: "/pages/combo/combo-list"
	},
	ComboDetail: {
		name: "组合课程详细页",
		path: "/pages/combo/combo-detail"
	},
	Certificate: {
		name: "考试认证",
		path: "/pages/certificate/certificate"
	},
	Talentpool: {
		name: "人才库",
		path: "/pages/talentpool/talentpool"
	}

}
